<form action="<?php echo $aUrl; ?>" method="post" name="adminForm">
<div id="config-document">

	<!-- start page-site -->
	<div id="page-site">
	<table class="noshow">
		<tr>
			<td width="65%">
			<fieldset class="adminform">
			<legend>基本信息</legend>
			<table class="admintable" cellspacing="1">
			<tbody>
				<tr>
					<td class="key">
						<span class="editlinktip hasTip" title="模型名称::">模型名称</span>
					</td>
					<td>
						<input type="text" name="modules[module_name]" class="text_area" size="50" value="<?php echo $model->module_name; ?>" />
					</td>
				</tr>
				<tr>
					<td class="key">
						<span class="editlinktip hasTip" title="附加表前缀::">附加表前缀</span>
					</td>
					<td>
						<?php if (CControllerConfig::getAction() == 'edit') : ?>
						<?php echo $model->module_tblname; ?>
						<?php else : ?>
						<input type="text" name="modules[module_tblname]" class="text_area" size="50" value="<?php echo $model->module_tblname != '' ? $model->module_tblname : $prefix; ?>" />
						<?php endif; ?>
					</td>
				</tr>
				<tr>
					<td valign="top" class="key">
						<span class="editlinktip hasTip" title="模型状态::">模型状态</span>
					</td>
					<td>
						<input type="radio" name="modules[module_status]" class="inputbox" value="n" <?php if ($model->module_status == 'n') echo 'checked'; ?> />
						<label for="module_status0">禁用</label>
						<input type="radio" name="modules[module_status]" class="inputbox" value="y" <?php if ($model->module_status != 'n') echo 'checked'; ?> />
						<label for="module_status1">启用</label>
					</td>
				</tr>
				<tr>
					<td class="key">
						<span title="模型描述::" class="editlinktip hasTip">模型描述</span>
					</td>
					<td>
						<textarea name="modules[module_description]" class="text_area" rows="3" cols="50" style="width: 400px; height: 50px;"><?php echo $model->module_description; ?></textarea>
					</td>
				</tr>
			</tbody>
			</table>
			</fieldset>
			</td>
		</tr>
	</table>
	</div>
	<!-- end page-site -->

</div>
<input type="hidden" name="do" value="" /> 
<input type="hidden" name="id" value="<?php echo $model->pk; ?>" /> 
<div class="clr"></div>
</form>